//
//  RSWebView.h
//  StaffTax
//
//  Created by 侯伟 on 2020/3/13.
//  Copyright © 2020 侯伟. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <WebKit/WebKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface RSWebView : UIView

@property(nonatomic,strong,class,readonly)WKWebViewConfiguration* defaultConfiguration;

@property(nonatomic,strong,readonly)WKWebView* webView;

@property(nonatomic,strong,readonly)UIProgressView* progressView;

@property(nonatomic,weak)id<WKNavigationDelegate> navigationDelegate;

@property(nonatomic,weak)id<WKUIDelegate> UIDelegate;

@property(nonatomic,assign)BOOL progressViewHidden;

#pragma mark -- init

- (instancetype)initWithFrame:(CGRect)frame config:(WKWebViewConfiguration*)config;

@end

NS_ASSUME_NONNULL_END
